package com.alan.libapi.model.business;

/**
 * @className: TcpJsonResponseError
 * @describtion: TcpJsonResponseError
 * @author: AlanWang
 * @email: 850267876@qq.com
 * @time: 2016/5/14 22:13
 */
public class TcpJsonResponseError extends TcpJsonBaseResponse {

    private TcpResponseError error;

    public TcpResponseError getError() {
        return error;
    }

    public void setError(TcpResponseError error) {
        this.error = error;
    }

    @Override
    public String toString() {
        return "TcpJsonResponseError{" +
                "id=" + getId() +
                "jsonrpc=" + getJsonrpc() +
                "error=" + error.toString() +
                '}';
    }
}
